<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>
<script>
    const str = "qwbewrbbeqqbbbweebbbbwew";
    console.log(str.match(/b+/g));
    console.log(str.match(/b*/g));
    console.log(str.match(/b{1,4}/g));
    console.log(str.match(/b{1,5}/g));

    getAttribute(key) //根据属性名获取属性值，节点属性
    setAttribute(key, val)  //根据属性名设置属性值
    removeAttibute(key) //根据属性名删除属性节点

    Element.children //子元素
    Element.childNodes //子节点
    firstChild //第一个子节点
    firstElementChild //第一个子元素
    lastChild
    lastElementChild
    parentNode
    parentElement
    previousSibling
    previousElementSibling //前一个同级元素
    nextSibling
    nextElementSibling
    document.createElement("li");
    document.createTextNode("哈哈哈")
    parent.append("string|node")
    parent.prepend()
    parent.insertBefore()
    parent.insertBefore(li, mid.nextElementSibling)
    remove()
    removeChild()
    replaceChild("newNode", "oldNode")
    cloneNode(true)
    window.getComputedStyle
    ele.currentStyle
    function getStyle(ele, attr) {
        if (window.getComputedStyle) {
            return getComputedStyle(ele)[attr];
        } else {
            return ele.currentStyle[attr]
        }
    }
    replace()
    contains()
    toggle()
    setInterval
    setTimeout()
    onfocus
    onblur
    onchange
    oninput
    // pointer-events:onoe
    // cursor

    Element.addEventListener(type, callback)
    addEventListener
    removeEventListener
    ie:
    attachEvent
    detachEvent
    stopPropagation()
    cancelBubble = true
    e.preventDefault()
    e.returnValue = false
    toUpperCase()
    toLowerCase()
    repeat()
    padStart()
    padEnd()
    replaceAll()
    getFullYear()
    getMounth()
    getData()
    getDay()
    getHours()
    getMinutes()
    getSeconds()
    getMilliseconds()
    getTime()
</script>

</html>